<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>分享赚钱</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <link href="css/base.css" rel="stylesheet" type="text/css" />
    <link href="css/button.css" rel="stylesheet" type="text/css" />
    <link href="css/icon.css" rel="stylesheet" type="text/css" />
    <link href="css/money.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="header">
        <img src="image/share.png" class="header-background" />
        <span class="font-red">100元</span>
    </div>
    <div class="header-tip">
        <!-- <p><a class="header-tip-title font-blue" href="javascript:;">查看奖励细则</a></p> -->
        <p class="header-tip-title">分享你的专属二维码或任一页面给好友</p>
        <p class="header-tip-title">好友首次点击后将成为你的终身粉丝</p>
        <p class="header-tip-body">以后好友入住（终身）您都可以获得<span class="font-red">100元</span>奖励</p>
        <p>&nbsp;</p>
    </div>
    <div class="bottom">
        <a href="javascript:;">
        累计已获得
        <span id="profit" class="font-yellow"></span>
        收益
        <i class="icon icon-arrow-right"></i>
      </a>
    </div>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" type="text/javascript"></script>
    <script src="js/template.js" type="text/javascript"></script>
    <script src="js/base.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            bee.wxConfig(function() {
                bee.hideAllNonBaseMenuItem();
            }, function(res) {});

            bee.request({
                url: '/Member/Index/getShare',
                data: null,
                success: function(result) {
                    $('#profit').text(result.total_money + '元');
                }
            });
        });
    </script>
</body>

</html>
